-- GENERATED SPELL FOR [Bloodscalp Headhunter] --


function spell0_671(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_671', 549, 1)
end

function spell1_671(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_671', 500, 1)
end

function Sorts_671(pUnit, Event)
local choix_sorts_671 = math.random(0, 1)
if choix_sorts_671 == 0 then
pUnit:RegisterEvent('spell0_671', 1, 1)
end
if choix_sorts_671 == 1 then
pUnit:RegisterEvent('spell1_671', 1, 1)
end
end

function mob671_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_671', math.random(1500, 3000), 1)
end

function mob671_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob671_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob671_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(671, 1, 'mob671_Action')
RegisterUnitEvent(671, 2, 'mob671_Leave')
RegisterUnitEvent(671, 3, 'mob671_Kill')
RegisterUnitEvent(671, 4, 'mob671_Die')
